package com.wondertek.service.dto.business.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @description: 修改设备
 * @author: qinjianhui
 * @create: 2024-07-18 11:17
 **/
@Data
public class DeviceUpdateReq {
    /*
     * 设备名称
     * */
    @NotBlank(message = "device.name.not.null")
    @Schema(name = "deviceName",description = "设备名称")
    private String deviceName;

    /*
     * 设备编码
     * */
    @NotBlank(message = "device.code.not.null")
    @Schema(name = "deviceCode",description = "设备编码")
    private String deviceCode;

    /*
     * 设备id
     * */
    @NotBlank(message = "device.id.not.null")
    @Schema(name = "id",description = "设备id")
    private String id;
}

